package org.csy.generic.test00.demo02.myWork;

/**
 * @author CSY
 * @date 2025 - 03 - 26
 */
public class GenericTest<T> {

    public T create(Class<T> clazz) {
        try {
            return clazz.getConstructor().newInstance();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

}
